<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title" >编辑教学楼</h4>
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
	</div>
	<div class="modal-body" style="height: 450px;overflow: auto;">
		<table cellpadding="10px 5px" style="width: 100%;">
			<tr>
				<td width="110px">教学楼代码：</td>
				<td>
					<input ng-model="form.code" type="text" class="form-control"  form-check="must" form-check-alert="教学楼代码不能为空"/>
				</td>
			</tr>
			<tr>
				<td>教学楼名称：</td>
				<td>
					<input ng-model="form.name" type="text" class="form-control"  form-check="must" form-check-alert="教学楼名称不能为空"/>
				</td>
			</tr>
			<tr>
				<td>校区：</td>
				<td>
					<select class="form-control" ng-options="unit.id as unit.showname for unit in unitList" ng-model="form.fk_unit" form-check="must" form-check-alert="校区不能为空">
						<option value="">==请选择==</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>教学楼简称：</td>
				<td>
					<input ng-model="form.abbreviation" type="text" class="form-control" />
				</td>
			</tr>
			<tr>
				<td>教学楼别名：</td>
				<td>
					<input ng-model="form.alias" type="text" class="form-control" />
				</td>
			</tr>
			<tr>
				<td>使用状态：</td>
				<td>
					<select class="form-control" ng-model="form.use_status" form-check="must" form-check-alert="使用状态不能为空">
						<option value="1">启用</option>
						<option value="2">禁用</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>登记日期：</td>
				<td>
					<input ng-model="form.boarding_data" type="text" class="form-control datepicker date-picker" readonly="readonly"  form-check="must" form-check-alert="登记日期不能为空"/>
				</td>
			</tr>
			<tr>
				<td>备注：</td>
				<td>
					<input ng-model="form.ramarks" type="text" class="form-control" />
				</td>
			</tr>
		</table>
	</div>
	<div class="modal-footer">
		<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
	</div>
</div>